Blog

Eric Peterson

December 18, 2017

Spread the word


Share your thoughts

ForgeBox with Santa hat Today let's look at a quick, fun module today. It will make your exception experience in development just a little bit nicer. It's called [`whoops`](https://www.forgebox.io/view/whoops).

whoops

Based off of the PHP package of the same name, whoops is a development exception experience. It shows an interactive stack trace, the code in question with the line highlighted, and some application and request information to help you track down problems in your application.

This is a module that is better told in pictures:

whoops screenshot 1 whoops screenshot 2 whoops screenshot 3

Get Started

It couldn't be easier to get started:

CommandBox> install whoops --saveDev

Happy debugging!

Add Your Comment

(2)

Dec 19, 2017 07:00:42 UTC

by Daniel Fredericks

Hey, could you provide a bit more info on this...is it a CB only, or can it run with FW/1, or non-framework code? I guess you cd into your project then install woops? then when you run your code, it will fire off woops in the browser when/if it finds an error, and then brings up the code? Just wondering how to use it beyond just the pics...want to see if it is something for us at work or not... thanks

Dec 19, 2017 18:32:24 UTC

by Eric Peterson

Hi, Dan. This is currently ColdBox only, as it uses the onError interception point. It likely could be extended easily to use the Application.cfc onError lifecycle method.

Recent Entries

Into the Box is Going Online, Register Now!

Into the Box is Going Online, Register Now!

Dive into the Future of Web Development with Into the Box 2024 - now going global and online! No matter where you are, you're invited to join us for an amazing and enriching two-day experience on May 16th and 17th, packed with groundbreaking insights, expert sessions, and game-changing announcements.

Maria Jose Herrera
Maria Jose Herrera
May 01, 2024
Into the Box 2024: Your Gateway to the Future of Tech!

Into the Box 2024: Your Gateway to the Future of Tech!

Are you ready to advance your coding skills? The future of Modern Web Development awaits at Into the Box 2024, and we're thrilled to announce that due to high demand, we're extending our Early Bird pricing for an additional week!

Maria Jose Herrera
Maria Jose Herrera
April 26, 2024